package cc.lj.internal.merchant.interfaces.dto.convert;

import cc.lj.internal.merchant.domain.contract.model.vo.MerchantContractSignedDO;
import cc.lj.internal.merchant.interfaces.dto.MerchantContractSignedDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 商户合同签订表DO与DTO转换
 * @author liangxifeng
 * @date 2022-07-09
 */
@Mapper
public interface MerchantContractSignedDTOConvertDO {
    MerchantContractSignedDTOConvertDO INSTANCE = Mappers.getMapper(MerchantContractSignedDTOConvertDO.class);
    //do to dto
    MerchantContractSignedDTO convert(MerchantContractSignedDO signedDO);
    //dto to do
    MerchantContractSignedDO convert(MerchantContractSignedDTO signedDTO);
}
